#include "../inc/skyPainter.h"
namespace Sky
{
	
	Rect* Painter::getClipArea()
	{
		return &mClipRect;
	}

	Void Painter::setClipArea( u32 x,u32 y,u32 w,u32 h )
	{
		return mClipRect.set(x,y,w,h);
	}

	Void	Painter::setClipArea(Rect* rect)
	{
		return mClipRect.set(rect->x,rect->y,rect->w,rect->h);
	}

	Rect* Painter::getInvalidArea()
	{
		return &mInvalidRect;
	}

	Void Painter::setInvalidArea( u32 x,u32 y,u32 w,u32 h )
	{
		return mInvalidRect.set(x,y,w,h);
	}

	Void	Painter::setInvalidArea(Rect* rect)
	{
		return mInvalidRect.set(rect->x,rect->y,rect->w,rect->h);
	}

	Painter::~Painter( void )
	{

	}






}
